
package com.lvmama.pangolin.mybatis.mapper.tn;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.lvmama.pangolin.entity.ProductConditionVO;
import com.lvmama.pangolin.entity.tn.TNTicketProduct;
import com.lvmama.pangolin.entity.xc.XCTicketProduct;

public interface TNTicketProductMapper
{

	int deleteByPrimaryKey(String id);

	int deleteByByProdId(String product_id);

	int insert(TNTicketProduct record);

	int insertSelective(TNTicketProduct record);

	TNTicketProduct selectByPrimaryKey(String id);

	TNTicketProduct selectByProdId(@Param(value="productId")String productId);

	int updateByPrimaryKeySelective(TNTicketProduct record);
	
	int updateByProdIdSelective(TNTicketProduct record);

	int updateByPrimaryKey(TNTicketProduct record);
	
	List<TNTicketProduct> getAllList(ProductConditionVO pc);

	List<TNTicketProduct> selectByName(String name);
	List<TNTicketProduct> selectAll();
	List<TNTicketProduct> selectByUrl(String url);
	
	public void updateByProdId(@Param("productId")String productId);
	
	public void deleteLinkByProdId(@Param("productId")String productId);
}
